package com.wm.springcloud.dao;

import com.wm.entities.Payment;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ClassName:PaymentDao
 * @Description:
 * @Author:Deamer
 * @Date:2021/5/9 22:50
 **/
@Mapper
//@Repository不用【Spring的】
public interface PaymentDao {

    int create(Payment payment);

    Payment getPaymentById(Long id);

}
